#include <stdio.h>

int main() {
	int x = 123;
	printf("%d\n", x);
	printf("%6d\n", x);
	printf("%2d\n", x);
	printf("%-6d\n", x);
	printf("%06d\n", x);
	return 0;
}